package com.itheima.health.dao;

import com.itheima.health.pojo.HotSetmeal;
import org.apache.ibatis.annotations.Select;

import java.time.LocalDate;
import java.util.List;

public interface ReportDao {
    Integer getVisitNumber(LocalDate begin, LocalDate end);

    Integer getNewMember(LocalDate begin, LocalDate end);

    Integer getOrderNumber(LocalDate begin, LocalDate end);

    @Select("SELECT COUNT(*) FROM itcast_health_all.t_member")
    Integer getTotalMumber();

    List<HotSetmeal> getHotSetmeals();

    @Select("SELECT COUNT(*) FROM itcast_health_all.t_order")
    Integer getTotalOrderNumber();
}
